import host from "@/config/index.js";
import http from "@/utils/http.js";
export const getTest = () => {
  return http({
    url: `${host.BASE_API}/api/get`,
    method: "GET",
    params: params,
  });
};
export const postTest = (data) => {
  return http({
    url: `${host.BASE_API}/api/post`,
    method: "POST",
    data,
  });
};
export const putTest = (data) => {
  return http({
    url: `${host.BASE_API}/api/put`,
    method: "PUT",
    data,
  });
};
export const patchTest = (data) => {
  return http({
    url: `${host.BASE_API}/api/patch`,
    method: "PATCH",
    data,
  });
};
export const deleteTest = (data) => {
  return http({
    url: `${host.BASE_API}/api/delete`,
    method: "DELETE",
    data,
  });
};
